package com.link.base.base.orgnization.dao.mybatis.mapper;

import com.link.core.basic.model.CallParam;
import com.link.base.base.orgnization.model.Orgnization;
import com.link.core.basic.dao.mapper.BasicMapper;

/**
 * @author unknown
 * @date unknown
 * @comments 组织导入
 */
public interface OrgImportMapper extends BasicMapper<Orgnization> {

    /**
     * 检验组织类型、父组织、是否有效
     * @param record
     * @throws Exception
     */
    public void runOrganizationCheck(com.link.core.basic.model.CallParam record) throws Exception;

    /**
     * 插入到组织
     * @param record
     * @throws Exception
     */
    public void runNewOrganizationForimp(CallParam record) throws Exception;

}
